package com.longshihan.testart.mvp.presenter;

import android.content.Context;

import com.longshihan.mvplh.dagger.scope.ActivityScope;
import com.longshihan.mvplh.mvp.BasePresenter;
import com.longshihan.mvplh.mvp.IModel;
import com.longshihan.mvplh.mvp.IRepositoryManager;
import com.longshihan.testart.mvp.contract.TestContract;
import com.longshihan.testart.mvp.model.entity.TestModel;

import javax.inject.Inject;

/**
 * @author longshihan
 * @time 2017/8/17 14:03
 * @des TestActivity的Persenter
 */

@ActivityScope
public class TestPersenter extends BasePresenter<TestContract.View> implements TestContract.Presenter{

    private Context mContext;
    private IModel mIModel;

    @Inject
    public TestPersenter(TestContract.View rootView, IRepositoryManager manager) {
        super(rootView);
        mContext = (Context) rootView;
        mIModel=new TestModel(manager);

    }

    @Override
    public void StartTask(){
    }


    @Override
    public void onDestroy() {
        super.onDestroy();

    }
}
